/* eslint-disable */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);

  router.resources('comment', '/comment', controller.comment);
  router.resources('favorite', '/favorite', controller.favorite);

  
  router.post('/login', controller.account.login);
  router.post('/register', controller.account.register);
};